package cn.wolfcode.luowowo.article.service.impl;

import cn.wolfcode.luowowo.article.domain.Destination;
import cn.wolfcode.luowowo.article.domain.HotelScore;
import cn.wolfcode.luowowo.article.mapper.HotelScoreMapper;
import cn.wolfcode.luowowo.article.service.IHotelScoreService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
@Service
public class HotelScoreServiceImpl implements IHotelScoreService {
    @Autowired
    private HotelScoreMapper hotelScoreMapper;



    @Override
    public List<Destination> getHotelCitys() {
        return hotelScoreMapper.getHotelCitys();
    }

    @Override
    public List<HotelScore> listByDestId8(String cityName) {
        return hotelScoreMapper.listByDestId8(cityName);
    }
}
